<!DOCTYPE html>

<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=GBK">
		<title>距离2025年圣诞节还有多少天/已经多少天 - 倒计时器</title>
		<link rel="stylesheet" type="text/css" href="./距离2025年圣诞节还有多少天_已经多少天 - 倒计时器_files/all.css">
		<script type="text/javascript">
			function startTime() {
				var today = new Date()
				var h = today.getHours()
				var m = today.getMinutes()
				var s = today.getSeconds()
				m = checkTime(m)
				s = checkTime(s)
				document.getElementById('txt').innerHTML = h + ":" + m + ":" + s
				t = setTimeout('startTime()', 1000)
			}

			function checkTime(i) {
				if (i < 10) {
					i = "0" + i
				}
				return i
			}
		</script>
	</head>

	<body>
		<div id="bigdiv">
			<div class="nrt">
				<h1>距离2025年圣诞节还有多少天/已经多少天</h1>
			</div>

			<div class="nrs">
				<div align="center">
					<div class="qtnr tl">
						当前时间：2025-08-06 <span id="txt">10:23:19</span>
						<script language="javascript" type="text/javascript">
							startTime();
						</script> &nbsp;&nbsp;&nbsp;当前状态：<font color="#0000FF">倒计时进行中</font>
					</div>

					<div class="clear"></div>
					
					<div class="qtnr" style="background:#E6F1F7 url(&#39;l-Bg.png&#39;);border:5px solid #dedede;padding:20px;height:320px;box-sizing:border-box; -webkit-box-sizing:border-box; -moz-box-sizing:border-box;-webkit-border-radius: 8px; -moz-border-radius: 8px;border-radius: 8px;">
						<h2>2025年圣诞节</h2>
						2025年圣诞节时间：2025年12月25日&nbsp;　星期五&nbsp;　农历冬月十一<p>

							现在距离2025年圣诞节还有</p>
						<p>
							<font style="font-size:32px;letter-spacing:8px;">
								<span id="djs94">
									<font color="red">140 天 13 时 36 分 41 秒 </font>
								</span>
							</font>
						</p>
						<p>倒计时结束时间：2025-12-25 00:00:00</p>
						<p>顺计时开始时间：2025-12-25 23:59:59</p>
					</div>
				</div>
			</div>
		</div>
		<script language="javascript">
			function show_date_time(trq, bjq) {
				var rq = trq;
				var bj = bjq;
				var zjssx = new Date("12-25-2025 23:59:59");
				window.setTimeout("show_date_time('" + rq + "','" + bj + "')", 1000);
				BirthDay = new Date("" + rq + ""); //日期设定
				today = new Date();
				timeold0 = (zjssx.getTime() - today.getTime());
				secondsold0 = Math.floor(timeold0 / 1000);
				timeold = (BirthDay.getTime() - today.getTime()) + 1000;
				sectimeold = (timeold / 1000)
				secondsold = Math.floor(sectimeold);
				msPerDay = 24 * 60 * 60 * 1000
				e_daysold = timeold / msPerDay
				daysold = Math.floor(e_daysold);
				e_hrsold = (e_daysold - daysold) * 24;
				hrsold = Math.floor(e_hrsold);
				e_minsold = (e_hrsold - hrsold) * 60;
				minsold = Math.floor((e_hrsold - hrsold) * 60);
				seconds = Math.floor((e_minsold - minsold) * 60);
				timeold2 = (BirthDay.getTime() - today.getTime());
				sectimeold2 = (timeold2 / 1000)
				secondsold2 = Math.floor(sectimeold2);
				e_daysold2 = timeold2 / msPerDay
				daysold2 = Math.floor(e_daysold2);
				e_hrsold2 = (e_daysold2 - daysold2) * 24;
				hrsold2 = Math.floor(e_hrsold2);
				e_minsold2 = (e_hrsold2 - hrsold2) * 60;
				minsold2 = Math.floor((e_hrsold2 - hrsold2) * 60);
				seconds2 = Math.floor((e_minsold2 - minsold2) * 60);
				document.getElementById("" + bj + "").innerHTML = "<font color=red>" + daysold + " 天 " + hrsold + " 时 " + minsold +
					" 分 " + seconds + " 秒 </font>";
				if (secondsold == 0 || secondsold0 == 0) {
					location.reload();
				}
				if (parseInt(daysold, 10) < 0) {
					document.getElementById("" + bj + "").innerHTML = "<font color=green>" + Math.abs(daysold2 + 1) + " 天 " + (23 -
						hrsold2) + " 时 " + (59 - minsold2) + " 分 " + (59 - seconds2) + " 秒 </font>";
				}
			}
			show_date_time('12-25-2025 0:0:0', 'djs94');
		</script>
	</body>
</html>
